package com.intel.two.mapper.buildingMapper;

import com.intel.two.common.LayuiPageVo;
import com.intel.two.pojo.building.Resident;
import com.intel.two.vo.building.BarVo;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface ResidentMapper {
    List<Resident> residentPageData(Map<String, Object> params) ;



    int addResident(Resident resident);

    int deleteResident(Integer id);

    int updateResident(Resident resident);

    List<BarVo> BarData();



    List<Resident> ResidentExcelData(Resident resident);

    int deleteResidents(List<Integer> list);

}
